<?php  
    require_once("./system/loginCheck.php");
    require_once("../congfig/config.php");

    $uid=$_GET["uid"];
    $pid=$_GET["pid"];

    // $sql1="select * from proinfor where id=$pid";
    // $result1=mysql_query($sql1);
    // $row1=mysql_fetch_assoc($result1);
    // if(){

    // }

    $sql="delete from `puser` where uid=$uid";
    $result=$conn->query($sql);
    if ($result==true) {
    	$text="成员删除成功！";
        header("location:alterProjectUser.php?text=$text&pid=$pid");
    }else{
    	$text="成员删除失败！";
        header("location:alterProjectUser.php?text=$text&pid=$pid");
    }
    


?>